package io.renren.modules.oss.dto;

import lombok.Data;

/**
 * @author: huan.xu
 * @create: 2023/12/23 16:54
 * @description: 文件上传结果DTO
 **/
@Data
public class UploadResultDTO {

  /**
   * 下载地址
   */
  private String downloadUrl;
  /**
   * 存储路径
   */
  private String storagePath;

  public UploadResultDTO(String downloadUrl, String storagePath) {
    this.downloadUrl = downloadUrl;
    this.storagePath = storagePath;
  }
}
